package com.example.bitmap;

/**
 * @author shanchong
 * @date 2021/3/29
 **/
public class Demo2 {

    public static void main(String[] args) {
        int i = Integer.SIZE - 3;
        int i1 = (1 << i) - 1;
        System.out.println("COUNT_BITS:"+Integer.toBinaryString(i));
        System.out.println("CAPACITY:"+Integer.toBinaryString(i1));
        System.out.println(Integer.toBinaryString(-1 << i | 0));
    }

}
